package com.ygqh.baby.po;

import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.PromotionType;
import com.ygqh.baby.ao.SalesPlatform;

import java.math.BigDecimal;
import java.util.Date;

public class YgShoppingCar {
	// 用于购物车商品数量加减
	public static final Long ONE = 1L;

	private Long id;

	private Long userId;

	private Long skuId;

	private Long quantity;

	private PromotionType salesType;

	private BigDecimal promotionPrice;

	private DataStatus status;

	private Boolean isCheck;

	private Date createTime;

    private SalesPlatform salesPlatform;

	// =================Column End====

	private Long stockNum;

	private YgSku ygSku;

	public YgSku getYgSku() {
		return ygSku;
	}

	public void setYgSku(YgSku ygSku) {
		this.ygSku = ygSku;
	}

	public Long getStockNum() {
		return stockNum;
	}

	public void setStockNum(Long stockNum) {
		this.stockNum = stockNum;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getSkuId() {
		return skuId;
	}

	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	public Long getQuantity() {
		return quantity;
	}

	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}

	public PromotionType getSalesType() {
		return salesType;
	}

	public void setSalesType(PromotionType salesType) {
		this.salesType = salesType;
	}

	public BigDecimal getPromotionPrice() {
		return promotionPrice;
	}

	public void setPromotionPrice(BigDecimal promotionPrice) {
		this.promotionPrice = promotionPrice;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public Boolean getIsCheck() {
		return isCheck;
	}

	public void setIsCheck(Boolean isCheck) {
		this.isCheck = isCheck;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

    public SalesPlatform getSalesPlatform() {
        return salesPlatform;
    }

    public void setSalesPlatform(SalesPlatform salesPlatform) {
        this.salesPlatform = salesPlatform;
    }
}